package com.xbongbong.pro.detailtab.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.Positive;

/**
 * 详情页请求跟进记录列表
 * @author haibin.zhang
 * @version v1.0
 * @date 2019/4/9 12:37
 * @since v1.0
 */
@Getter
@Setter
public class DetailCommunicateDTO extends BaseDTO {
    /**
     * 所在详情的数据id
     */
    private Long parentId;
    /**
     * 所在详情的业务类型
     */
    private Integer parentBusinessType;
    @Positive(message = "{dto.msg.detailCommunicate.page.Positive}")
    private Integer page = 1;
    @Positive(message = "{dto.msg.detailCommunicate.pageSize.Positive}")
    private Integer pageSize = 5;
    /**
     * 表单id
     */
    private Long formId;
}
